Fix #242 - Adds support for PSCustomObject#243
Fix #242 - Adds support for PSCustomObject#243tznind wants to merge 10 commits intoPowerShell:mainfrom
Conversation
- Move to new folder - Make interface and abstract base with generics - Add implementation for PSObject@
|
@andyleejordan this is ready for review if you are able to find time 🚀 |
|
@tznind We need to fix this in |
Ah, no I did not look at the ocgv command. I did create a helper though shouldn't be too hard to port across. I can probably take a look at the weekend. |
|
@tig I have looked into the ocgv implementation and do not think it will have the same issues that the tree view had (that this PR corrects). ocgv uses Both of the below look like correct behaviours to me, see example json |
|
Does this enhancement also handle the scenario of real .NET objects like Here is an example with |
|
Any plans on merging this? |
|
Bumping this, are there any plans to merge this in? |




PR Summary
Adds support for dealing with native PSObject instances (current code only deals with native object types).
Fixes #242
Test JSON
Test JSON 2
Test JSON 2 loaded in Show-ObjectTree
How to manually test with the above JSON
A new pwsh window is launched to avoid conflict of modules. Exit after test with
exit.PR Context